Add fast approximations of x^2.4 and x^(1/2.4)
authorAlexander Larsson <alexl@redhat.com>
Mon, 18 Jun 2012 10:58:12 +0000 (12:58 +0200)
committerØyvind Kolås <pippin@gimp.org>
Mon, 18 Jun 2012 13:47:55 +0000 (15:47 +0200)
commit373cb5af0d511ded2005a6ee9a9330c5319b8acd
tree61f42ff6a202b7457215b3816e32198879eec95e
parentfb54e1002f872095b5f5471b11cd4e0af7a0e4e2
Add fast approximations of x^2.4 and x^(1/2.4)

Use a chebyshev polynominal approximation of these to speed up
gamma conversion. Based on the post in:

http://stackoverflow.com/questions/6475373/optimizations-for-pow-with-const-non-integer-exponent/6478839#6478839

https://bugzilla.gnome.org/show_bug.cgi?id=678318
babl/base/Makefile.am
babl/base/pow-24.c [new file with mode: 0644]
babl/base/pow-24.h [new file with mode: 0644]